<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'deviceMgr.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	
	<link rel="StyleSheet" href="${pageContext.request.contextPath}/css/table4jtheme/tabletree4j.css" type="text/css" />
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/table4j/Core4j.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/table4j/TableTree4j.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery/jquery-3.1.1.min.js"></script>

	<style>
	
		.bigtitle{
			font-family:Arial;
			font-weight:bold;
			font-size:22px;
			margin-bottom:10px;
		}
		.footer{
			font-family:Arial;
			font-weight:bold;
			font-size:12px;
			color:#747474;
		}
	
		.title{
			padding-left:10px;
			font-family:Arial;
			/*font-weight:bold;*/
			font-size:18px;
			color:#747474;
		}
	
		.fromtitle{
			background-color:#f5f5f5;
			text-align:center;
			font-family:Arial;
			color:#acac59;
			padding-top:5px;
			padding-bottom:5px;
		}
	
		.fromcontent{
			font-family:Arial;
			padding-right:5px;
			padding-bottom:10px;
			padding-top:10px;
		}
	
		.content{
			font-family:Arial;
		}
		.clickbtn{
			cursor:pointer;
		}
		.headerbg{
			background:#328aa4 url(img/tr_back.gif) repeat-x;color:#fff;
			height:27px;
			font-family:"Arial";
		}
		.headerbg td{
			text-align:center;
		}
	
	
		.tabletree4j-gird td{
		height:27px;
		}
	
		.arrow-tt-node-content{
			text-align:center;
			width:100%;
		}
		.circle-tt-node-content{
			text-align:center;
			width:100%;
		}
		.default-tt-node-content{
			text-align:center;
			width:100%;
		}
	</style>
	
	<script language="javascript">
	</script>
  </head>
  
  <body>
   	<div id="worldcupgird" class="content" style="margin-top:5px;float:left;width:81%;margin-left:1%">
   		<table>
   			<tr>
   				<td>PanId</td>
   				<td><input type="text" readonly="readonly" value="${dtu.panId}" /></td>
   			</tr>
   			<tr>
   				<td>区名称</td>
   				<td><input type="text" readonly="readonly" value="${dtu.addressName}" /></td>
   			</tr>
   			<tr>
   				<td>状态</td>
   				<td><input type="text" readonly="readonly" value="${dtuStatus.status}" /></td>
   			</tr>
   			<tr>
   				<td>当前温度</td>
   				<td><input type="text" readonly="readonly" value="${dtuStatus.temperature/10.0}" /></td>
   			</tr>
   			<tr>
   				<td>蓄电池电压</td>
   				<td><input type="text" readonly="readonly" value="${dtuStatus.vol}" /></td>
   			</tr>
   		</table>
   	</div>
  </body>
</html>
